package com.zx.baofu.alcohol.mapper;

import com.zx.baofu.alcohol.model.Prize;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author wrh
 */
@Repository(value = "prizeMapper")
public interface PrizeMapper {
    /**查询奖品*/
    List<Prize> getPrize(@Param("id") Long id);
    /**修改奖品*/
    int updatePrize(Prize prize);
    /**增加奖品*/
    int insertPrize(Prize prize);
}
